import request from '@/utils/request.js'
const api_name = `/api/user`

export default {

  //登录
  login(userInfo) {
    return request({
      url: `${api_name}/login`,
      method: 'POST',
      data: loginVo   //使用json方式传递
    })
  }
}
